home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / mac / DirectX SDK / DXSDK / include / amparse.h < prev    next >
C/C++ Source or Header  |  2001-10-08  |  1KB  |  39 lines

  1. //------------------------------------------------------------------------------
  2. // File: AMParse.h
  3. //
  4. // Desc: Interface to the parser to get current time.  This is useful for
  5. //       multifile playback.
  6. //
  7. // Copyright (c) 1996-2001, Microsoft Corporation.  All rights reserved.
  8. //------------------------------------------------------------------------------
  9.  
  10.  
  11. #ifndef __AMPARSE__
  12. #define __AMPARSE__
  13.  
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif // __cplusplus
  17.  
  18.  
  19. DEFINE_GUID(IID_IAMParse,
  20. 0xc47a3420, 0x005c, 0x11d2, 0x90, 0x38, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x98);
  21.  
  22. //
  23. //  Parser interface - supported by MPEG-2 splitter filter
  24. //
  25. DECLARE_INTERFACE_(IAMParse, IUnknown) {
  26.     STDMETHOD(GetParseTime) (THIS_
  27.                              REFERENCE_TIME *prtCurrent
  28.                             ) PURE;
  29.     STDMETHOD(SetParseTime) (THIS_
  30.                              REFERENCE_TIME rtCurrent
  31.                             ) PURE;
  32.     STDMETHOD(Flush) (THIS) PURE;
  33. };
  34.  
  35. #ifdef __cplusplus
  36. }
  37. #endif // __cplusplus
  38. #endif // __AMPARSE__
  39.